package com.zhongwang.mms.gen.entity;

import lombok.Data;

import java.util.Date;
@Data
public class MOrderDetail {
    private Integer odaId;

    private Integer odaInType;

    private String odaProCode;

    private String odaProName;

    private Double odaNum;

    private Double odaWeight;

    private String odaBackDate;

    private String odaTrackCode;

    private Integer odaOdrId;

    private Integer odaMatId;

    private String odaSpec;

    private String odaBackWeight;

    private Double odaPrice;

    private Integer odaItyId;

    private Integer odaItyFlag;

    private Integer odaRedFlag;

    private Date odaRedDate;

    private String odaRedUser;

    private Integer odaCadId;

    private String odaPosition;

    private Double odaAmount;

    private String odaMatSapCode;

    private Integer odaType;

    private Integer odaWhiId;

    private String odaWhiIdName;
    private  String contractNo;//合同编号
    private  String supplier;//供应商

    public MOrderDetail(Integer odaId, Integer odaInType, String odaProCode, String odaProName, Double odaNum, Double odaWeight, String odaBackDate, String odaTrackCode, Integer odaOdrId, Integer odaMatId, String odaSpec, String odaBackWeight, Double odaPrice, Integer odaItyId, Integer odaItyFlag, Integer odaRedFlag, Date odaRedDate, String odaRedUser, Integer odaCadId, String odaPosition, Double odaAmount, String odaMatSapCode, Integer odaType) {
        this.odaId = odaId;
        this.odaInType = odaInType;
        this.odaProCode = odaProCode;
        this.odaProName = odaProName;
        this.odaNum = odaNum;
        this.odaWeight = odaWeight;
        this.odaBackDate = odaBackDate;
        this.odaTrackCode = odaTrackCode;
        this.odaOdrId = odaOdrId;
        this.odaMatId = odaMatId;
        this.odaSpec = odaSpec;
        this.odaBackWeight = odaBackWeight;
        this.odaPrice = odaPrice;
        this.odaItyId = odaItyId;
        this.odaItyFlag = odaItyFlag;
        this.odaRedFlag = odaRedFlag;
        this.odaRedDate = odaRedDate;
        this.odaRedUser = odaRedUser;
        this.odaCadId = odaCadId;
        this.odaPosition = odaPosition;
        this.odaAmount = odaAmount;
        this.odaMatSapCode = odaMatSapCode;
        this.odaType = odaType;
    }

    public MOrderDetail() {
        super();
    }

    public Integer getOdaId() {
        return odaId;
    }

    public void setOdaId(Integer odaId) {
        this.odaId = odaId;
    }

    public Integer getOdaInType() {
        return odaInType;
    }

    public void setOdaInType(Integer odaInType) {
        this.odaInType = odaInType;
    }

    public String getOdaProCode() {
        return odaProCode;
    }

    public void setOdaProCode(String odaProCode) {
        this.odaProCode = odaProCode == null ? null : odaProCode.trim();
    }

    public String getOdaProName() {
        return odaProName;
    }

    public void setOdaProName(String odaProName) {
        this.odaProName = odaProName == null ? null : odaProName.trim();
    }

    public Double getOdaNum() {
        return odaNum;
    }

    public void setOdaNum(Double odaNum) {
        this.odaNum = odaNum;
    }

    public Double getOdaWeight() {
        return odaWeight;
    }

    public void setOdaWeight(Double odaWeight) {
        this.odaWeight = odaWeight;
    }

    public String getOdaBackDate() {
        return odaBackDate;
    }

    public void setOdaBackDate(String odaBackDate) {
        this.odaBackDate = odaBackDate == null ? null : odaBackDate.trim();
    }

    public String getOdaTrackCode() {
        return odaTrackCode;
    }

    public void setOdaTrackCode(String odaTrackCode) {
        this.odaTrackCode = odaTrackCode == null ? null : odaTrackCode.trim();
    }

    public Integer getOdaOdrId() {
        return odaOdrId;
    }

    public void setOdaOdrId(Integer odaOdrId) {
        this.odaOdrId = odaOdrId;
    }

    public Integer getOdaMatId() {
        return odaMatId;
    }

    public void setOdaMatId(Integer odaMatId) {
        this.odaMatId = odaMatId;
    }

    public String getOdaSpec() {
        return odaSpec;
    }

    public void setOdaSpec(String odaSpec) {
        this.odaSpec = odaSpec == null ? null : odaSpec.trim();
    }

    public String getOdaBackWeight() {
        return odaBackWeight;
    }

    public void setOdaBackWeight(String odaBackWeight) {
        this.odaBackWeight = odaBackWeight == null ? null : odaBackWeight.trim();
    }

    public Double getOdaPrice() {
        return odaPrice;
    }

    public void setOdaPrice(Double odaPrice) {
        this.odaPrice = odaPrice;
    }

    public Integer getOdaItyId() {
        return odaItyId;
    }

    public void setOdaItyId(Integer odaItyId) {
        this.odaItyId = odaItyId;
    }

    public Integer getOdaItyFlag() {
        return odaItyFlag;
    }

    public void setOdaItyFlag(Integer odaItyFlag) {
        this.odaItyFlag = odaItyFlag;
    }

    public Integer getOdaRedFlag() {
        return odaRedFlag;
    }

    public void setOdaRedFlag(Integer odaRedFlag) {
        this.odaRedFlag = odaRedFlag;
    }

    public Date getOdaRedDate() {
        return odaRedDate;
    }

    public void setOdaRedDate(Date odaRedDate) {
        this.odaRedDate = odaRedDate;
    }

    public String getOdaRedUser() {
        return odaRedUser;
    }

    public void setOdaRedUser(String odaRedUser) {
        this.odaRedUser = odaRedUser == null ? null : odaRedUser.trim();
    }

    public Integer getOdaCadId() {
        return odaCadId;
    }

    public void setOdaCadId(Integer odaCadId) {
        this.odaCadId = odaCadId;
    }

    public String getOdaPosition() {
        return odaPosition;
    }

    public void setOdaPosition(String odaPosition) {
        this.odaPosition = odaPosition == null ? null : odaPosition.trim();
    }

    public Double getOdaAmount() {
        return odaAmount;
    }

    public void setOdaAmount(Double odaAmount) {
        this.odaAmount = odaAmount;
    }

    public String getOdaMatSapCode() {
        return odaMatSapCode;
    }

    public void setOdaMatSapCode(String odaMatSapCode) {
        this.odaMatSapCode = odaMatSapCode == null ? null : odaMatSapCode.trim();
    }

    public Integer getOdaType() {
        return odaType;
    }

    public void setOdaType(Integer odaType) {
        this.odaType = odaType;
    }
}